package org.edu.modules.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@TableName("ve_site")
public class VeSite implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name = "网站域名", width = 15.0D)
    @ApiModelProperty("网站域名")
    private String domain;
    @Excel(name = "网站标题", width = 15.0D)
    @ApiModelProperty("网站标题")
    private String title;
    @Excel(name = "门户网站模板编号", width = 15.0D)
    @ApiModelProperty("门户网站模板编号")
    private String templet;
    @Excel(name = "门户banner图片", width = 15.0D)
    @ApiModelProperty("门户banner图片")
    private Integer bannerid;
    @Excel(name = "门户logo图片", width = 15.0D)
    @ApiModelProperty("门户logo图片")
    private Integer logoid;
    @Excel(name = "关键字", width = 15.0D)
    @ApiModelProperty("关键字")
    private String keywords;
    @Excel(name = "描述", width = 15.0D)
    @ApiModelProperty("描述")
    private String descriptions;
    @Excel(name = "版权信息", width = 15.0D)
    @ApiModelProperty("版权信息")
    private String copyright;

    /*  26 */
    public org.edu.modules.portal.entity.VeSite setId(Integer id) {
        this.id = id;
        return this;
    }

    @Excel(name = "网站备案号", width = 15.0D)
    @ApiModelProperty("网站备案号")
    private String icp;
    @Excel(name = "联系电话", width = 15.0D)
    @ApiModelProperty("联系电话")
    private String phone;
    @Excel(name = "邮箱", width = 15.0D)
    @ApiModelProperty("邮箱")
    private String email;
    @Excel(name = "联系地址", width = 15.0D)
    @ApiModelProperty("联系地址")
    private String address;
    @Excel(name = "运行状态（1正常，0关闭）", width = 15.0D)
    @ApiModelProperty("运行状态（1正常，0关闭）")
    private Integer status;
    @Excel(name = "关闭原因", width = 15.0D)
    @ApiModelProperty("关闭原因")
    private String reason;
    @Excel(name = "终端系统ID", width = 15.0D)
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @Excel(name = "站点对应的模型代码：portal=主站点，department=专业站点,project=专业建设项目", width = 15.0D)
    @ApiModelProperty("站点对应的模型代码：portal=主站点，department=专业站点,project=专业建设项目")
    private String rowmodel;
    @Excel(name = "模型对应目标ID，可以为0（portal=0，项目对应ve_project的ID，department对应ve_base_department的ID）", width = 15.0D)
    @ApiModelProperty("模型对应目标ID，可以为0（portal=0，项目对应ve_project的ID，department对应ve_base_department的ID）")
    private Integer rowid;
    @Excel(name = "多租户id", width = 15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.entity.VeSite setDomain(String domain) {
        this.domain = domain;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setTemplet(String templet) {
        this.templet = templet;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setBannerid(Integer bannerid) {
        this.bannerid = bannerid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setLogoid(Integer logoid) {
        this.logoid = logoid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setKeywords(String keywords) {
        this.keywords = keywords;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setDescriptions(String descriptions) {
        this.descriptions = descriptions;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setCopyright(String copyright) {
        this.copyright = copyright;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setIcp(String icp) {
        this.icp = icp;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setEmail(String email) {
        this.email = email;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setAddress(String address) {
        this.address = address;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setRowmodel(String rowmodel) {
        this.rowmodel = rowmodel;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setRowid(Integer rowid) {
        this.rowid = rowid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSite setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeSite(id=" + getId() + ", domain=" + getDomain() + ", title=" + getTitle() + ", templet=" + getTemplet() + ", bannerid=" + getBannerid() + ", logoid=" + getLogoid() + ", keywords=" + getKeywords() + ", descriptions=" + getDescriptions() + ", copyright=" + getCopyright() + ", icp=" + getIcp() + ", phone=" + getPhone() + ", email=" + getEmail() + ", address=" + getAddress() + ", status=" + getStatus() + ", reason=" + getReason() + ", terminalid=" + getTerminalid() + ", rowmodel=" + getRowmodel() + ", rowid=" + getRowid() + ", placeId=" + getPlaceId() + ")";
    }


    /*  29 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.entity.VeSite)) return false;
        org.edu.modules.portal.entity.VeSite other = (org.edu.modules.portal.entity.VeSite) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$bannerid = getBannerid(), other$bannerid = other.getBannerid();
        if ((this$bannerid == null) ? (other$bannerid != null) : !this$bannerid.equals(other$bannerid)) return false;
        Object this$logoid = getLogoid(), other$logoid = other.getLogoid();
        if ((this$logoid == null) ? (other$logoid != null) : !this$logoid.equals(other$logoid)) return false;
        Object this$status = getStatus(), other$status = other.getStatus();
        if ((this$status == null) ? (other$status != null) : !this$status.equals(other$status)) return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$rowid = getRowid(), other$rowid = other.getRowid();
        if ((this$rowid == null) ? (other$rowid != null) : !this$rowid.equals(other$rowid)) return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$domain = getDomain(), other$domain = other.getDomain();
        if ((this$domain == null) ? (other$domain != null) : !this$domain.equals(other$domain)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$templet = getTemplet(), other$templet = other.getTemplet();
        if ((this$templet == null) ? (other$templet != null) : !this$templet.equals(other$templet)) return false;
        Object this$keywords = getKeywords(), other$keywords = other.getKeywords();
        if ((this$keywords == null) ? (other$keywords != null) : !this$keywords.equals(other$keywords)) return false;
        Object this$descriptions = getDescriptions(), other$descriptions = other.getDescriptions();
        if ((this$descriptions == null) ? (other$descriptions != null) : !this$descriptions.equals(other$descriptions))
            return false;
        Object this$copyright = getCopyright(), other$copyright = other.getCopyright();
        if ((this$copyright == null) ? (other$copyright != null) : !this$copyright.equals(other$copyright))
            return false;
        Object this$icp = getIcp(), other$icp = other.getIcp();
        if ((this$icp == null) ? (other$icp != null) : !this$icp.equals(other$icp)) return false;
        Object this$phone = getPhone(), other$phone = other.getPhone();
        if ((this$phone == null) ? (other$phone != null) : !this$phone.equals(other$phone)) return false;
        Object this$email = getEmail(), other$email = other.getEmail();
        if ((this$email == null) ? (other$email != null) : !this$email.equals(other$email)) return false;
        Object this$address = getAddress(), other$address = other.getAddress();
        if ((this$address == null) ? (other$address != null) : !this$address.equals(other$address)) return false;
        Object this$reason = getReason(), other$reason = other.getReason();
        if ((this$reason == null) ? (other$reason != null) : !this$reason.equals(other$reason)) return false;
        Object this$rowmodel = getRowmodel(), other$rowmodel = other.getRowmodel();
        return !((this$rowmodel == null) ? (other$rowmodel != null) : !this$rowmodel.equals(other$rowmodel));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.entity.VeSite;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $bannerid = getBannerid();
        result = result * 59 + (($bannerid == null) ? 43 : $bannerid.hashCode());
        Object $logoid = getLogoid();
        result = result * 59 + (($logoid == null) ? 43 : $logoid.hashCode());
        Object $status = getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $rowid = getRowid();
        result = result * 59 + (($rowid == null) ? 43 : $rowid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $domain = getDomain();
        result = result * 59 + (($domain == null) ? 43 : $domain.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $templet = getTemplet();
        result = result * 59 + (($templet == null) ? 43 : $templet.hashCode());
        Object $keywords = getKeywords();
        result = result * 59 + (($keywords == null) ? 43 : $keywords.hashCode());
        Object $descriptions = getDescriptions();
        result = result * 59 + (($descriptions == null) ? 43 : $descriptions.hashCode());
        Object $copyright = getCopyright();
        result = result * 59 + (($copyright == null) ? 43 : $copyright.hashCode());
        Object $icp = getIcp();
        result = result * 59 + (($icp == null) ? 43 : $icp.hashCode());
        Object $phone = getPhone();
        result = result * 59 + (($phone == null) ? 43 : $phone.hashCode());
        Object $email = getEmail();
        result = result * 59 + (($email == null) ? 43 : $email.hashCode());
        Object $address = getAddress();
        result = result * 59 + (($address == null) ? 43 : $address.hashCode());
        Object $reason = getReason();
        result = result * 59 + (($reason == null) ? 43 : $reason.hashCode());
        Object $rowmodel = getRowmodel();
        return result * 59 + (($rowmodel == null) ? 43 : $rowmodel.hashCode());
    }


    public Integer getId() {

        return this.id;
    }

    public String getDomain() {

        return this.domain;
    }

    public String getTitle() {

        return this.title;
    }

    public String getTemplet() {

        return this.templet;
    }

    public Integer getBannerid() {
        return this.bannerid;
    }

    public Integer getLogoid() {

        return this.logoid;
    }

    public String getKeywords() {

        return this.keywords;
    }

    public String getDescriptions() {
        return this.descriptions;
    }

    public String getCopyright() {

        return this.copyright;
    }

    public String getIcp() {

        return this.icp;
    }

    public String getPhone() {
        return this.phone;
    }

    public String getEmail() {
        return this.email;
    }

    public String getAddress() {
        return this.address;
    }

    public Integer getStatus() {

        return this.status;
    }

    public String getReason() {
        return this.reason;
    }

    public Integer getTerminalid() {

        return this.terminalid;
    }

    public String getRowmodel() {
        return this.rowmodel;
    }

    public Integer getRowid() {

        return this.rowid;
    }

    public Integer getPlaceId() {
        return this.placeId;
    }
}



